package io.renren.modules.gengyun.feign;

import io.renren.modules.gengyun.Config.FeignConfig;
import io.renren.modules.gengyun.entity.Date_Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.Map;

@FeignClient(value = "gengyun-upload")
public interface PlanFeignService {
    @RequestMapping(value="/plan/all", method = RequestMethod.POST)
    public Map<String,Object> find();

    @RequestMapping(value="/indicator/findByName", method = RequestMethod.POST)
    public Map<String,Object> findByName(@RequestParam String name);


    @RequestMapping(value="/indicator/all", method = RequestMethod.POST)
    public Map<String,Object> findallIndicator();


    @RequestMapping(value="/gather/bydate", method = RequestMethod.POST)
    public Map<String,Object> findbydate(@RequestParam Date date);




}
